<?php

use Biz\service\theParagraph\CategoryClassify as sCategoryClassify;
/**
 * @deprecated
 */
class CategoryListAction extends ActionPlugin
{

	const USER_LEVEL = self::LEVEL_NOTHING;

	public function main()
	{
		$categoryId = $this->getRequest()->getQuery('category_id');

		$rest = [];
		if ($categoryId) {
			$rest = sCategoryClassify::getClassifiesByIdForApp($categoryId);
		}

		$this->setSuccess($rest);

	}
}